iMacrosControl Events

iMacros Component

The iMacrosControl type exposes the following members.

Events

  NameDescription
Public eventAutoSizeChanged
Occurs when the AutoSize property changes.
(Inherited from UserControl.)
Public eventAutoValidateChanged
Occurs when the AutoValidate property changes.
(Inherited from UserControl.)
Public eventBackColorChanged
Occurs when the value of the BackColor property changes.
(Inherited from Control.)
Public eventBackgroundImageChanged
Occurs when the value of the BackgroundImage property changes.
(Inherited from Control.)
Public eventBackgroundImageLayoutChanged
Occurs when the BackgroundImageLayout property changes.
(Inherited from Control.)
Public eventBindingContextChanged
Occurs when the value of the BindingContext property changes.
(Inherited from Control.)
Public eventCode exampleBrowserResize
Occurs when the browser needs to be resized during playback. This can happen due to a SIZE or any kind of screenshot command in the macro, like SAVEAS or IMAGESEARCH. The Size property of BrowserResizeEventArgs contains the required size that iMacrosControl should be set.
Public eventBrowserStatusUpdated
Occurs when the active browser control (selected browser tab) status (property BrowserStatus) is updated.
Public eventCausesValidationChanged
Occurs when the value of the CausesValidation property changes.
(Inherited from Control.)
Public eventChangeUICues
Occurs when the focus or keyboard user interface (UI) cues change.
(Inherited from Control.)
Public eventClick
Occurs when the control is clicked.
(Inherited from Control.)
Public eventClientSizeChanged
Occurs when the value of the ClientSize property changes.
(Inherited from Control.)
Public eventContextMenuChanged
Occurs when the value of the ContextMenu property changes.
(Inherited from Control.)
Public eventContextMenuStripChanged
Occurs when the value of the ContextMenuStrip property changes.
(Inherited from Control.)
Public eventControlAdded (Inherited from Control.)
Public eventControlRemoved (Inherited from Control.)
Public eventCursorChanged
Occurs when the value of the Cursor property changes.
(Inherited from Control.)
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventDockChanged
Occurs when the value of the Dock property changes.
(Inherited from Control.)
Public eventDoubleClick
Occurs when the control is double-clicked.
(Inherited from Control.)
Public eventDragDrop
Occurs when a drag-and-drop operation is completed.
(Inherited from Control.)
Public eventDragEnter
Occurs when an object is dragged into the control's bounds.
(Inherited from Control.)
Public eventDragLeave
Occurs when an object is dragged out of the control's bounds.
(Inherited from Control.)
Public eventDragOver
Occurs when an object is dragged over the control's bounds.
(Inherited from Control.)
Public eventEnabledChanged
Occurs when the Enabled property value has changed.
(Inherited from Control.)
Public eventEnter
Occurs when the control is entered.
(Inherited from Control.)
Public eventFileDownload
Fired when file download has been either started (Starting), was updated (InProgress), or is complete (Completed). If the download is in progress this event is fired several times to notify the caller that the number of downloaded bytes has changed. As downloads may happen concurrently, this event fires with state InProgress also when a new file starts downloading before the former download job is complete. In this case, the DownloadSize property of FileDownloadEventArgs is updated to reflect the new total size.
Public eventFontChanged
Occurs when the Font property value changes.
(Inherited from Control.)
Public eventForeColorChanged
Occurs when the ForeColor property value changes.
(Inherited from Control.)
Public eventGiveFeedback
Occurs during a drag operation.
(Inherited from Control.)
Public eventGotFocus
Occurs when the control receives focus.
(Inherited from Control.)
Public eventHandleCreated
Occurs when a handle is created for the control.
(Inherited from Control.)
Public eventHandleDestroyed
Occurs when the control's handle is in the process of being destroyed.
(Inherited from Control.)
Public eventHelpRequested
Occurs when the user requests help for a control.
(Inherited from Control.)
Public eventImeModeChanged
Occurs when the ImeMode property has changed.
(Inherited from Control.)
Public eventInvalidated
Occurs when a control's display requires redrawing.
(Inherited from Control.)
Public eventKeyDown
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
Public eventKeyPress
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
Public eventKeyUp
Occurs when a key is released while the control has focus.
(Inherited from Control.)
Public eventLayout
Occurs when a control should reposition its child controls.
(Inherited from Control.)
Public eventLeave
Occurs when the input focus leaves the control.
(Inherited from Control.)
Public eventLoad
Occurs before the control becomes visible for the first time.
(Inherited from UserControl.)
Public eventLocationChanged
Occurs when the Location property value has changed.
(Inherited from Control.)
Public eventLostFocus
Occurs when the control loses focus.
(Inherited from Control.)
Public eventMacroErrorOccurred
Fired when a macro error occurs in the Play(String) method. The properties ErrorCode and ErrorText are updated with code and message of the error. This event is not fired if !ERRORIGNORE is set to NO.
Public eventMarginChanged
Occurs when the control's margin changes.
(Inherited from Control.)
Public eventCode exampleMasterPasswordRequested
Occurs when a macro requires a temporary master password to decrypt a password. Set the MasterPassword of MasterPasswordEventArgs to the required master password in the event handler.
Public eventMouseCaptureChanged
Occurs when the control loses mouse capture.
(Inherited from Control.)
Public eventMouseClick
Occurs when the control is clicked by the mouse.
(Inherited from Control.)
Public eventMouseDoubleClick
Occurs when the control is double clicked by the mouse.
(Inherited from Control.)
Public eventMouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control.)
Public eventMouseEnter
Occurs when the mouse pointer enters the control.
(Inherited from Control.)
Public eventMouseHover
Occurs when the mouse pointer rests on the control.
(Inherited from Control.)
Public eventMouseLeave
Occurs when the mouse pointer leaves the control.
(Inherited from Control.)
Public eventMouseMove
Occurs when the mouse pointer is moved over the control.
(Inherited from Control.)
Public eventMouseUp
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control.)
Public eventMouseWheel
Occurs when the mouse wheel moves while the control has focus.
(Inherited from Control.)
Public eventMove
Occurs when the control is moved.
(Inherited from Control.)
Public eventPaddingChanged
Occurs when the control's padding changes.
(Inherited from Control.)
Public eventPaint
Occurs when the control is redrawn.
(Inherited from Control.)
Public eventParentChanged
Occurs when the Parent property value changes.
(Inherited from Control.)
Public eventPlayerModeChanged
Occurs when the playback mode (Idle, Playing, Paused) has been changed. The property PlayerMode is updated with the current playback mode.
Public eventPlayerStatusUpdated
Occurs when the player status (property PlayerStatus) is updated. It includes messages about which command is being played and errors which might have occurred during playback also if !ERRORIGNORE is set to to NO.
Public eventPreviewKeyDown
Occurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control.)
Public eventPrompt
Fired when macro playback requires that a message be shown to the user, or needs some user input, due to a PROMPT command in the macro. Set Handled to true after populating Value with the user input. Use a modal dialog to communicate with the user, like a MessageBox, or use the ShowDialog of the Form class. This way macro playback will not proceed before the user has had time to see or to provide his input.
Public eventQueryAccessibilityHelp
Occurs when AccessibleObject is providing help to accessibility applications.
(Inherited from Control.)
Public eventQueryContinueDrag
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
(Inherited from Control.)
Public eventRegionChanged
Occurs when the value of the Region property changes.
(Inherited from Control.)
Public eventResize
Occurs when the control is resized.
(Inherited from Control.)
Public eventRightToLeftChanged
Occurs when the RightToLeft property value changes.
(Inherited from Control.)
Public eventScroll
Occurs when the user or code scrolls through the client area.
(Inherited from ScrollableControl.)
Public eventSizeChanged
Occurs when the Size property value changes.
(Inherited from Control.)
Public eventStyleChanged
Occurs when the control style changes.
(Inherited from Control.)
Public eventSystemColorsChanged
Occurs when the system colors change.
(Inherited from Control.)
Public eventTabIndexChanged
Occurs when the TabIndex property value changes.
(Inherited from Control.)
Public eventTabStopChanged
Occurs when the TabStop property value changes.
(Inherited from Control.)
Public eventTextChanged
Raises the TextChanged event.
(Inherited from UserControl.)
Public eventTopMostRequired
Fired when the form containing the control needs to set its TopMost property during playback. This can happen due to a screenshot command, IMAGESEARCH, or DS.
Public eventValidated
Occurs when the control is finished validating.
(Inherited from Control.)
Public eventValidating
Occurs when the control is validating.
(Inherited from Control.)
Public eventVisibleChanged
Occurs when the Visible property value changes.
(Inherited from Control.)
Top
See Also

Reference